
package org.ufida.entitydata;

import java.math.BigDecimal;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for UFIDA.U9.ISV.SM.SODiscountDTOData complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="UFIDA.U9.ISV.SM.SODiscountDTOData">
 *   &lt;complexContent>
 *     &lt;extension base="{http://www.UFIDA.org/EntityData}UFSoft.UBF.Business.DataTransObjectBase">
 *       &lt;sequence>
 *         &lt;element name="m_calAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         &lt;element name="m_deleteFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="m_descFlexField" type="{http://www.UFIDA.org/EntityData}UFIDA.U9.Base.FlexField.DescFlexField.DescFlexSegmentsData" minOccurs="0"/>
 *         &lt;element name="m_discount" type="{http://www.UFIDA.org/EntityData}UFIDA.U9.CBO.SCM.SaleDiscount.SaleDiscountData" minOccurs="0"/>
 *         &lt;element name="m_discountMoney" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         &lt;element name="m_discountPrice" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         &lt;element name="m_discountRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         &lt;element name="m_iD" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="m_lineNum" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UFIDA.U9.ISV.SM.SODiscountDTOData", propOrder = {
    "mCalAmount",
    "mDeleteFlag",
    "mDescFlexField",
    "mDiscount",
    "mDiscountMoney",
    "mDiscountPrice",
    "mDiscountRate",
    "mid",
    "mLineNum"
})
public class UFIDAU9ISVSMSODiscountDTOData
    extends UFSoftUBFBusinessDataTransObjectBase
{

    @XmlElement(name = "m_calAmount")
    protected BigDecimal mCalAmount;
    @XmlElement(name = "m_deleteFlag")
    protected Boolean mDeleteFlag;
    @XmlElementRef(name = "m_descFlexField", namespace = "http://www.UFIDA.org/EntityData", type = JAXBElement.class)
    protected JAXBElement<UFIDAU9BaseFlexFieldDescFlexFieldDescFlexSegmentsData> mDescFlexField;
    @XmlElementRef(name = "m_discount", namespace = "http://www.UFIDA.org/EntityData", type = JAXBElement.class)
    protected JAXBElement<UFIDAU9CBOSCMSaleDiscountSaleDiscountData> mDiscount;
    @XmlElement(name = "m_discountMoney")
    protected BigDecimal mDiscountMoney;
    @XmlElement(name = "m_discountPrice")
    protected BigDecimal mDiscountPrice;
    @XmlElement(name = "m_discountRate")
    protected BigDecimal mDiscountRate;
    @XmlElement(name = "m_iD")
    protected Long mid;
    @XmlElement(name = "m_lineNum")
    protected Integer mLineNum;

    /**
     * Gets the value of the mCalAmount property.
     * 
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *     
     */
    public BigDecimal getMCalAmount() {
        return mCalAmount;
    }

    /**
     * Sets the value of the mCalAmount property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *     
     */
    public void setMCalAmount(BigDecimal value) {
        this.mCalAmount = value;
    }

    /**
     * Gets the value of the mDeleteFlag property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isMDeleteFlag() {
        return mDeleteFlag;
    }

    /**
     * Sets the value of the mDeleteFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setMDeleteFlag(Boolean value) {
        this.mDeleteFlag = value;
    }

    /**
     * Gets the value of the mDescFlexField property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link UFIDAU9BaseFlexFieldDescFlexFieldDescFlexSegmentsData }{@code >}
     *     
     */
    public JAXBElement<UFIDAU9BaseFlexFieldDescFlexFieldDescFlexSegmentsData> getMDescFlexField() {
        return mDescFlexField;
    }

    /**
     * Sets the value of the mDescFlexField property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link UFIDAU9BaseFlexFieldDescFlexFieldDescFlexSegmentsData }{@code >}
     *     
     */
    public void setMDescFlexField(JAXBElement<UFIDAU9BaseFlexFieldDescFlexFieldDescFlexSegmentsData> value) {
        this.mDescFlexField = ((JAXBElement<UFIDAU9BaseFlexFieldDescFlexFieldDescFlexSegmentsData> ) value);
    }

    /**
     * Gets the value of the mDiscount property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link UFIDAU9CBOSCMSaleDiscountSaleDiscountData }{@code >}
     *     
     */
    public JAXBElement<UFIDAU9CBOSCMSaleDiscountSaleDiscountData> getMDiscount() {
        return mDiscount;
    }

    /**
     * Sets the value of the mDiscount property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link UFIDAU9CBOSCMSaleDiscountSaleDiscountData }{@code >}
     *     
     */
    public void setMDiscount(JAXBElement<UFIDAU9CBOSCMSaleDiscountSaleDiscountData> value) {
        this.mDiscount = ((JAXBElement<UFIDAU9CBOSCMSaleDiscountSaleDiscountData> ) value);
    }

    /**
     * Gets the value of the mDiscountMoney property.
     * 
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *     
     */
    public BigDecimal getMDiscountMoney() {
        return mDiscountMoney;
    }

    /**
     * Sets the value of the mDiscountMoney property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *     
     */
    public void setMDiscountMoney(BigDecimal value) {
        this.mDiscountMoney = value;
    }

    /**
     * Gets the value of the mDiscountPrice property.
     * 
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *     
     */
    public BigDecimal getMDiscountPrice() {
        return mDiscountPrice;
    }

    /**
     * Sets the value of the mDiscountPrice property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *     
     */
    public void setMDiscountPrice(BigDecimal value) {
        this.mDiscountPrice = value;
    }

    /**
     * Gets the value of the mDiscountRate property.
     * 
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *     
     */
    public BigDecimal getMDiscountRate() {
        return mDiscountRate;
    }

    /**
     * Sets the value of the mDiscountRate property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *     
     */
    public void setMDiscountRate(BigDecimal value) {
        this.mDiscountRate = value;
    }

    /**
     * Gets the value of the mid property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getMID() {
        return mid;
    }

    /**
     * Sets the value of the mid property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setMID(Long value) {
        this.mid = value;
    }

    /**
     * Gets the value of the mLineNum property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getMLineNum() {
        return mLineNum;
    }

    /**
     * Sets the value of the mLineNum property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setMLineNum(Integer value) {
        this.mLineNum = value;
    }

}
